package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//公共页面跳转Controller
@Controller
@RequestMapping("dongdongshop")
public class PageTurnsController {

    @RequestMapping("login")
    public String toLogin(){
        return "login";
    }
    //跳转首页
    @RequestMapping("index")
    public String toIndex(){
        return "admin/index";
    }
}
